package com.beimin.evedata.model.dgm;

import com.beimin.evedata.model.inv.InvType;
import java.io.Serializable;
import javax.persistence.Embeddable;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

/**
 *
 * @author Candle
 */
@Embeddable
public class DgmTypeAttributeID implements Serializable {
  
	@ManyToOne
	@JoinColumn(name="attributeID")
  DgmAttributeType attribute;
	@ManyToOne
	@JoinColumn(name="typeID")
  InvType type;

  public DgmAttributeType getAttribute() {
    return attribute;
  }

  public void setAttribute(DgmAttributeType attribute) {
    this.attribute = attribute;
  }

  public InvType getType() {
    return type;
  }

  public void setType(InvType type) {
    this.type = type;
  }
}
